﻿namespace SDCloudSolution.SDCloud.Web.Infrastructure.Interfaces
{
    public interface IDataSizeFormatter
    {
        /// <summary>
        /// Converts the bytes count to user friendly format.
        /// F.e. converts 11000 bytes to "11 KB" string.
        /// </summary>
        /// <param name="sizeInBytes">The size in bytes.</param>
        /// <returns>The user friendly string representation of this size.</returns>
        string ConvertBytesToUserFriendlyFormat(long sizeInBytes);
    }
}
